import pandas as pd
from pitchSrc.tools.surfaceDecorator import SurfaceDecorator
from common.config import pitchConfig as Config

from pitchSrc.tools.loadFile import toCsv, toAttrCsv
import os

@SurfaceDecorator.fit
def onlSurfaceProcess(points):
    print("surfaceProcess 进行中................")
    return points

def surfaceProcess():
    toCsv(Config.onlFusionProcess,  Config.onlSurfaceProcess, onlSurfaceProcess)
    toAttrCsv(Config.onlSurfaceProcess, Config.onlSurfaceAttr)
    print('surfaceProcess 完毕................')
    # show3dFig(Config.onlSurfaceProcess)
if __name__ == '__main__':


    surfaceProcess()